package com.vodone.v1pin.productlist.vo
{
	import com.vodone.v1pin.brand.vo.BrandItemVO;

	[Bindable]
	public class BrandInfoVO extends BrandItemVO
	{
		public function BrandInfoVO( obj:Object = null )
		{
			if( null != obj )
			{
				parseData( obj );
			}
		}
		
		private function parseData( obj:Object ):void
		{
			if( obj.hasOwnProperty("brandID") )
			{
				brandID = obj["brandID"];
			}
			if( obj.hasOwnProperty("cname") )
			{
				cname = obj["cname"];
			}
			if( obj.hasOwnProperty("ename") )
			{
				ename = obj["ename"];
			}
			if( obj.hasOwnProperty("title") )
			{
				title = obj["title"];
			}
			if( obj.hasOwnProperty("createTime") )
			{
				createTime = obj["createTime"];
			}
			if( obj.hasOwnProperty("cradle") )
			{
				cradle = obj["cradle"];
			}
			if( obj.hasOwnProperty("keyword") )
			{
				keyword = obj["keyword"];
			}
			if( obj.hasOwnProperty("describe") )
			{
				describe = obj["describe"];
			}
			if( obj.hasOwnProperty("isFavor"))
			{
				isFavor = Boolean( obj["isFavor"] );
			}
		}
		/**
		 * 是否收藏 
		 */		
		public var isFavor:Boolean = false;
		/**
		 * 标题 
		 */		
		public var title:String = "";
		/**
		 * 描述 
		 */		
		public var describe:String = "";
		/**
		 * 创建期 
		 */		
		public var createTime:String = "";
		/**
		 * 发源地 
		 */		
		public var cradle:String = "";
		/**
		 * 关键词 
		 */		
		public var keyword:String = "";
	}
}